package com.example.piece.vm

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.SavedStateHandle
import com.example.base.repository.EmptyRepository
import com.example.base.vm.BaseViewModel
import com.example.piece.constant.Key

/**  Layer3 页面的 ViewModel  **/
class Layer3ViewModel(savedStateHandle: SavedStateHandle) :
    BaseViewModel<EmptyRepository>(savedStateHandle) {

    override fun createRepository(): EmptyRepository =
        EmptyRepository()

    /**  页面标题  **/
    val title: MutableLiveData<String> = getData(Key.DataKey.TITLE, "")

}